package com.shop.cereshop.business.dao.buyer;

import com.shop.cereshop.commons.domain.buyer.CereBuyerShopCoupon;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CereBuyerShopCouponDAO {
    int deleteByPrimaryKey(Long id);

    int insert(CereBuyerShopCoupon record);

    int insertSelective(CereBuyerShopCoupon record);

    CereBuyerShopCoupon selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(CereBuyerShopCoupon record);

    int updateByPrimaryKey(CereBuyerShopCoupon record);

    void insertBatch(@Param("list") List<CereBuyerShopCoupon> list);
}